package org.example.checkStore.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.example.warehouse.domain.MallStoreDetail;

/**
 * 盘点仓库详情对象 check_warehouse_store_detail
 *
 * @author 小孟微信：xiaomengcode
 * @date 2024-04-26
 */
public class CheckWarehouseStoreDetail extends MallStoreDetail
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long checkWarehouseDetailId;

    /** 详情Id */
    @Excel(name = "详情Id")
    private String checkWarehouseDetailNo;

    private Long checkWarehouseStoreId;

    /** 仓库ID */
    @Excel(name = "仓库ID")
    private Long warehouseId;

    /** 仓库存储Id */
    @Excel(name = "仓库存储Id")
    private Long warehouseStoreId;

    /** 数量 */
    @Excel(name = "数量")
    private Integer remainNum;

    /** 盘点数量 */
    @Excel(name = "盘点数量")
    private Integer checkNum;

    public Long getCheckWarehouseStoreId() {
        return checkWarehouseStoreId;
    }

    public void setCheckWarehouseStoreId(Long checkWarehouseStoreId) {
        this.checkWarehouseStoreId = checkWarehouseStoreId;
    }

    public void setCheckWarehouseDetailId(Long checkWarehouseDetailId)
    {
        this.checkWarehouseDetailId = checkWarehouseDetailId;
    }

    public Long getCheckWarehouseDetailId()
    {
        return checkWarehouseDetailId;
    }
    public void setCheckWarehouseDetailNo(String checkWarehouseDetailNo)
    {
        this.checkWarehouseDetailNo = checkWarehouseDetailNo;
    }

    public String getCheckWarehouseDetailNo()
    {
        return checkWarehouseDetailNo;
    }
    public void setWarehouseId(Long warehouseId)
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId()
    {
        return warehouseId;
    }
    public void setWarehouseStoreId(Long warehouseStoreId)
    {
        this.warehouseStoreId = warehouseStoreId;
    }

    public Long getWarehouseStoreId()
    {
        return warehouseStoreId;
    }

    @Override
    public Integer getRemainNum() {
        return remainNum;
    }

    @Override
    public void setRemainNum(Integer remainNum) {
        this.remainNum = remainNum;
    }

    public void setCheckNum(Integer checkNum)
    {
        this.checkNum = checkNum;
    }

    public Integer getCheckNum()
    {
        return checkNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("checkWarehouseDetailId", getCheckWarehouseDetailId())
            .append("checkWarehouseDetailNo", getCheckWarehouseDetailNo())
            .append("warehouseId", getWarehouseId())
            .append("warehouseStoreId", getWarehouseStoreId())
            .append("num", getNum())
            .append("checkNum", getCheckNum())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .toString();
    }
}
